﻿using BaseAPI;
using MemorySiteServer.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MemorySiteServer.ViewModels.FavoriteGroupViewModels
{
    public class FavoriteGroupGetListRequest : BaseGetListViewModel<FavoriteGroup>
    {
        public override IQueryable<FavoriteGroup> QueryFun(IQueryable<FavoriteGroup> queryable)
        {
            return queryable.Include(x => x.Favorites);
        }
    }
}
